package org.example.entity;

import java.sql.Date;

public class Attendance {
    private int attId;
    private int empId;
    private Date attendanceDate;
    private double workHours;
    private double overHours;

    // Getters and Setters
    public int getAttId() { return attId; }
    public void setAttId(int attId) { this.attId = attId; }
    public int getEmpId() { return empId; }
    public void setEmpId(int empId) { this.empId = empId; }
    public Date getAttendanceDate() { return attendanceDate; }
    public void setAttendanceDate(Date attendanceDate) { this.attendanceDate = attendanceDate; }
    public double getWorkHours() { return workHours; }
    public void setWorkHours(double workHours) { this.workHours = workHours; }
    public double getOverHours() { return overHours; }
    public void setOverHours(double overHours) { this.overHours = overHours; }

    @Override
    public String toString() {
        return "Attendance{" +
                "attId=" + attId +
                ", empId=" + empId +
                ", attendanceDate=" + attendanceDate +
                ", workHours=" + workHours +
                ", overHours=" + overHours +
                '}';
    }
}